package com.ljh.onlinetest.service;

import com.github.pagehelper.PageInfo;
import com.ljh.onlinetest.domain.Subject;
import com.ljh.onlinetest.viewmodel.admin.subject.SubjectPageRequestVM;

import java.util.List;

/**
 * @author ljh
 * @ClassName SubjectService.java
 * @createTime 2022年01月17日
 */
public interface SubjectService extends BaseService<Subject>{
    List<Subject> allSubject();

    PageInfo<Subject> listPage(SubjectPageRequestVM subjectPageRequestVM);

    List<Subject> getSubjectByLevel(Integer level);

    Integer levelBySubjectId(Integer subjectId);
}
